﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Graph
{
    class Edge
    {
        private Vertex from;
        private Vertex to;

        public Edge(Vertex f, Vertex t)
        {
            from = f;
            to = t;
        }

        public void From()
        {
            from.getName();
        }

        public void To()
        {
            to.getName();
        }
    }
}
